package cn.tedu.array;

public class Test6_Array {
    public static void main(String[] args) {
        char[] a = new char[]{'h','e','l','l','o'};
        char[] b = {'h','e','l','l','o'};

        char[] c = new char[5];
        c[0] = 'h';
        c[1] = 'e';
        c[2] = 'l';
        c[3] = 'l';
        c[4] = 'o';

        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }
}
